package com.wsllx.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liulx
 * @date 2022-08-30
 * @description 模拟其他系统回复
 */
//@Slf4j
@RestController
@RequestMapping(value = "/hot")
public class HotRestartController {
    private final static Logger logger = LoggerFactory.getLogger(HotRestartController.class);
    /**
     * 热部署
     * @param
     * @return
     * @throws Exception
     */
    @RequestMapping("/start")
    public String isppToLsms() throws Exception {
        logger.info("logback 访问hello{}","llx");
        logger.error("logback 访问hello{}","llx");
        return "本地居然也是能跑的，有意思";
    }

}
